//
//  XWNewsEntity.h
//  CGWSWW
//
//  Created by lanou3g on 16/8/18.
//  Copyright © 2016年 CXG. All rights reserved.
//

#import <Foundation/Foundation.h>
/**
 "postid":"PHOT22S7L000100A",
 "hasHead":1,
 "replyCount":2274,
 "hasImg":1,
 "digest":"",
 "hasIcon":true,
 "docid":"9IG74V5H00963VRO_BUOO6VSQluowenwenupdateDoc",
 "title":"郑州小学生家长为报名校门前通宵占位",
 "order":1,
 "priority":333,
 "lmodify":"2016-08-18 14:42:35",
 "boardid":"photoview_bbs",
 "ads":[
 {
 "title":"看客：被"甜甜圈"占领的中国泳池",
 "tag":"photoset",
 "imgsrc":"http://cms-bucket.nosdn.127.net/4ef5931d26f546b5af289abcd4f2edb420160818111057.jpeg",
 "subtitle":"",
 "url":"3R710001|2191532"
 },
 {
 "title":"江苏连云港查获500余吨涉嫌走私成品油",
 "tag":"photoset",
 "imgsrc":"http://cms-bucket.nosdn.127.net/152618b22a22468e9aee05eb4bf4c92220160818141347.jpeg",
 "subtitle":"",
 "url":"00AP0001|2191606"
 },
 {
 "title":"法国海滩人满为患 警方持枪加强巡逻",
 "tag":"photoset",
 "imgsrc":"http://cms-bucket.nosdn.127.net/68f9fc08e5954d6fad8fcf29d852ad9620160818100254.jpeg",
 "subtitle":"",
 "url":"00AO0001|2191579"
 },
 {
  },
 {
 "title":"印尼雅加达下沉加剧 政府修"海边长城"",
 "tag":"photoset",
 "imgsrc":"http://cms-bucket.nosdn.127.net/5b6214aadd8943f0ac98b28faf17bb6020160818081714.jpeg",
 "subtitle":"",
 "url":"00AO0001|2191570"
 }
 ],
 "photosetID":"00AP0001|2191605",
 "template":"normal1",
 "votecount":2144,
 "skipID":"00AP0001|2191605",
 "alias":"Top News",
 "skipType":"photoset",
 "cid":"C1348646712614",
 "hasAD":1,
 
 "source":"网易原创",
 "ename":"iosnews",
 "imgsrc":"http://cms-bucket.nosdn.127.net/adfb72eef6924924b4b1b99d10a2873920160818140403.jpeg",
 
 "ptime":"2016-08-18 14:01:18"
 */
@interface XWNewsEntity : NSObject
/**
 *  标题名 "tname":"头条",
 */
@property (nonatomic,copy) NSString *tname;
/**
 *  新闻发布时间
 */
@property (nonatomic,copy) NSString *ptime;
/**
 *  标题
 */
@property (nonatomic,copy) NSString *title;
/**
 *  多图数组
 "imgextra":Array[2],
 "title":"美国路易斯安那洪水 已致11人死亡",
 "tag":"photoset",
 "imgsrc":"http://cms-bucket.nosdn.127.net/f621a0ac276a47d78c24fb2c4e39181920160818100122.jpeg",
 "subtitle":"",
 "url":"00AO0001|2191583"

 */
@property (nonatomic,strong)NSArray *imgextra;
@property (nonatomic,copy) NSString *photosetID;
@property (nonatomic,copy)NSNumber *hasHead;
@property (nonatomic,copy)NSNumber *hasImg;
@property (nonatomic,copy) NSString *lmodify;
@property (nonatomic,copy) NSString *template;
@property (nonatomic,copy) NSString *skipType;
/**
 *  跟帖人数
 */
@property (nonatomic,copy)NSNumber *replyCount;
@property (nonatomic,copy)NSNumber *votecount;
@property (nonatomic,copy)NSNumber *voteCount;

@property (nonatomic,copy) NSString *alias;
/**
 *  新闻ID
 */
@property (nonatomic,copy) NSString *docid;
@property (nonatomic,assign)BOOL hasCover;
@property (nonatomic,copy)NSNumber *hasAD;
@property (nonatomic,copy)NSNumber *priority;
@property (nonatomic,copy) NSString *cid;
@property (nonatomic,strong)NSArray *videoID;
/**
 *  图片连接
 */
@property (nonatomic,copy) NSString *imgsrc;
@property (nonatomic,assign)BOOL hasIcon;
@property (nonatomic,copy) NSString *ename;
@property (nonatomic,copy) NSString *skipID;
@property (nonatomic,copy)NSNumber *order;
/**
 *  描述
 */
@property (nonatomic,copy) NSString *digest;
@property (nonatomic,strong)NSArray *editor;

@property (nonatomic,copy) NSString *url_3w;
@property (nonatomic,copy) NSString *specialID;
@property (nonatomic,copy) NSString *timeConsuming;
@property (nonatomic,copy) NSString *subtitle;
@property (nonatomic,copy) NSString *adTitle;
@property (nonatomic,copy) NSString *url;
@property (nonatomic,copy) NSString *source;


@property (nonatomic,copy) NSString *TAGS;
@property (nonatomic,copy) NSString *TAG;
/**
 *  大图样式
 */
@property (nonatomic,copy)NSNumber *imgType;
@property (nonatomic,strong)NSArray *specialextra;


@property (nonatomic,copy) NSString *boardid;
@property (nonatomic,copy) NSString *commentid;
@property (nonatomic,copy)NSNumber *speciallogo;
@property (nonatomic,copy) NSString *specialtip;
@property (nonatomic,copy) NSString *specialadlogo;

@property (nonatomic,copy) NSString *pixel;
@property (nonatomic,strong)NSArray *applist;

@property (nonatomic,copy) NSString *wap_portal;
@property (nonatomic,copy) NSString *live_info;
@property (nonatomic,copy) NSString *ads;
@property (nonatomic,copy) NSString *videosource;

+(__kindof XWNewsEntity*)newModelWithDic:(NSDictionary*)dic;
@end
